package com.xunwulian.api.iface;

import com.xunwulian.api.dto.BaseResponse;
import com.xunwulian.base.entity.CardInfoEntity;
import com.xunwulian.base.entity.Page;
import com.xunwulian.base.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Administrator on 2017/3/7.
 */
public interface CardAPI {

    BaseResponse parse2db(@Param("file") String file, @Param("appId") String appId, @Param("user") User user);

    BaseResponse addMsisdn(@Param("msisdn") String msisdn, @Param("appId") String appId, @Param("user") User user);

    BaseResponse parseGprsSms2db(String file);

    CardInfoEntity getByMsisdn(@Param("msisdn") String msisdn);

    BaseResponse listPage(Page page, String appId, String userId, String msisdnKey, String userNameKey);

}
